package com.main.by.dao;


import java.util.List;

import com.main.by.entity.bo.UserLoginBO;
import com.main.by.entity.vo.UserRegisterVO;

public interface UserDao {
	public UserLoginBO getUserByUserName(String userName) throws Exception;
	
	public boolean updateSysUser(UserLoginBO user, String... fileds) throws Exception;
	
	public boolean insterRegistInfo(UserRegisterVO user) throws Exception;
	
	public List<UserLoginBO> findUser() throws Exception;
	
	public List<UserLoginBO> findPendingUser() throws Exception;
	
	public boolean auditUserInfo(int userId) throws Exception;
	
	public boolean deleteUserById(int userId) throws Exception;
}
